package com.yonyou.gmmc.service.questionnaire.model;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TtOwnerQuestionnaireExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public TtOwnerQuestionnaireExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("ID is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("ID is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("ID =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("ID <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("ID >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("ID >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("ID <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("ID <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("ID in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("ID not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("ID between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("ID not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andQneIdIsNull() {
            addCriterion("QNE_ID is null");
            return (Criteria) this;
        }

        public Criteria andQneIdIsNotNull() {
            addCriterion("QNE_ID is not null");
            return (Criteria) this;
        }

        public Criteria andQneIdEqualTo(Integer value) {
            addCriterion("QNE_ID =", value, "qneId");
            return (Criteria) this;
        }

        public Criteria andQneIdNotEqualTo(Integer value) {
            addCriterion("QNE_ID <>", value, "qneId");
            return (Criteria) this;
        }

        public Criteria andQneIdGreaterThan(Integer value) {
            addCriterion("QNE_ID >", value, "qneId");
            return (Criteria) this;
        }

        public Criteria andQneIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("QNE_ID >=", value, "qneId");
            return (Criteria) this;
        }

        public Criteria andQneIdLessThan(Integer value) {
            addCriterion("QNE_ID <", value, "qneId");
            return (Criteria) this;
        }

        public Criteria andQneIdLessThanOrEqualTo(Integer value) {
            addCriterion("QNE_ID <=", value, "qneId");
            return (Criteria) this;
        }

        public Criteria andQneIdIn(List<Integer> values) {
            addCriterion("QNE_ID in", values, "qneId");
            return (Criteria) this;
        }

        public Criteria andQneIdNotIn(List<Integer> values) {
            addCriterion("QNE_ID not in", values, "qneId");
            return (Criteria) this;
        }

        public Criteria andQneIdBetween(Integer value1, Integer value2) {
            addCriterion("QNE_ID between", value1, value2, "qneId");
            return (Criteria) this;
        }

        public Criteria andQneIdNotBetween(Integer value1, Integer value2) {
            addCriterion("QNE_ID not between", value1, value2, "qneId");
            return (Criteria) this;
        }

        public Criteria andQneVersionIsNull() {
            addCriterion("QNE_VERSION is null");
            return (Criteria) this;
        }

        public Criteria andQneVersionIsNotNull() {
            addCriterion("QNE_VERSION is not null");
            return (Criteria) this;
        }

        public Criteria andQneVersionEqualTo(BigDecimal value) {
            addCriterion("QNE_VERSION =", value, "qneVersion");
            return (Criteria) this;
        }

        public Criteria andQneVersionNotEqualTo(BigDecimal value) {
            addCriterion("QNE_VERSION <>", value, "qneVersion");
            return (Criteria) this;
        }

        public Criteria andQneVersionGreaterThan(BigDecimal value) {
            addCriterion("QNE_VERSION >", value, "qneVersion");
            return (Criteria) this;
        }

        public Criteria andQneVersionGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("QNE_VERSION >=", value, "qneVersion");
            return (Criteria) this;
        }

        public Criteria andQneVersionLessThan(BigDecimal value) {
            addCriterion("QNE_VERSION <", value, "qneVersion");
            return (Criteria) this;
        }

        public Criteria andQneVersionLessThanOrEqualTo(BigDecimal value) {
            addCriterion("QNE_VERSION <=", value, "qneVersion");
            return (Criteria) this;
        }

        public Criteria andQneVersionIn(List<BigDecimal> values) {
            addCriterion("QNE_VERSION in", values, "qneVersion");
            return (Criteria) this;
        }

        public Criteria andQneVersionNotIn(List<BigDecimal> values) {
            addCriterion("QNE_VERSION not in", values, "qneVersion");
            return (Criteria) this;
        }

        public Criteria andQneVersionBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("QNE_VERSION between", value1, value2, "qneVersion");
            return (Criteria) this;
        }

        public Criteria andQneVersionNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("QNE_VERSION not between", value1, value2, "qneVersion");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("USER_ID is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("USER_ID is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(Integer value) {
            addCriterion("USER_ID =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(Integer value) {
            addCriterion("USER_ID <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(Integer value) {
            addCriterion("USER_ID >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("USER_ID >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(Integer value) {
            addCriterion("USER_ID <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(Integer value) {
            addCriterion("USER_ID <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<Integer> values) {
            addCriterion("USER_ID in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<Integer> values) {
            addCriterion("USER_ID not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(Integer value1, Integer value2) {
            addCriterion("USER_ID between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(Integer value1, Integer value2) {
            addCriterion("USER_ID not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNull() {
            addCriterion("CREATE_DATE is null");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNotNull() {
            addCriterion("CREATE_DATE is not null");
            return (Criteria) this;
        }

        public Criteria andCreateDateEqualTo(Date value) {
            addCriterion("CREATE_DATE =", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotEqualTo(Date value) {
            addCriterion("CREATE_DATE <>", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThan(Date value) {
            addCriterion("CREATE_DATE >", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("CREATE_DATE >=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThan(Date value) {
            addCriterion("CREATE_DATE <", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThanOrEqualTo(Date value) {
            addCriterion("CREATE_DATE <=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateIn(List<Date> values) {
            addCriterion("CREATE_DATE in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotIn(List<Date> values) {
            addCriterion("CREATE_DATE not in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateBetween(Date value1, Date value2) {
            addCriterion("CREATE_DATE between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotBetween(Date value1, Date value2) {
            addCriterion("CREATE_DATE not between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andBizCode1IsNull() {
            addCriterion("BIZ_CODE1 is null");
            return (Criteria) this;
        }

        public Criteria andBizCode1IsNotNull() {
            addCriterion("BIZ_CODE1 is not null");
            return (Criteria) this;
        }

        public Criteria andBizCode1EqualTo(String value) {
            addCriterion("BIZ_CODE1 =", value, "bizCode1");
            return (Criteria) this;
        }

        public Criteria andBizCode1NotEqualTo(String value) {
            addCriterion("BIZ_CODE1 <>", value, "bizCode1");
            return (Criteria) this;
        }

        public Criteria andBizCode1GreaterThan(String value) {
            addCriterion("BIZ_CODE1 >", value, "bizCode1");
            return (Criteria) this;
        }

        public Criteria andBizCode1GreaterThanOrEqualTo(String value) {
            addCriterion("BIZ_CODE1 >=", value, "bizCode1");
            return (Criteria) this;
        }

        public Criteria andBizCode1LessThan(String value) {
            addCriterion("BIZ_CODE1 <", value, "bizCode1");
            return (Criteria) this;
        }

        public Criteria andBizCode1LessThanOrEqualTo(String value) {
            addCriterion("BIZ_CODE1 <=", value, "bizCode1");
            return (Criteria) this;
        }

        public Criteria andBizCode1Like(String value) {
            addCriterion("BIZ_CODE1 like", value, "bizCode1");
            return (Criteria) this;
        }

        public Criteria andBizCode1NotLike(String value) {
            addCriterion("BIZ_CODE1 not like", value, "bizCode1");
            return (Criteria) this;
        }

        public Criteria andBizCode1In(List<String> values) {
            addCriterion("BIZ_CODE1 in", values, "bizCode1");
            return (Criteria) this;
        }

        public Criteria andBizCode1NotIn(List<String> values) {
            addCriterion("BIZ_CODE1 not in", values, "bizCode1");
            return (Criteria) this;
        }

        public Criteria andBizCode1Between(String value1, String value2) {
            addCriterion("BIZ_CODE1 between", value1, value2, "bizCode1");
            return (Criteria) this;
        }

        public Criteria andBizCode1NotBetween(String value1, String value2) {
            addCriterion("BIZ_CODE1 not between", value1, value2, "bizCode1");
            return (Criteria) this;
        }

        public Criteria andBizCode2IsNull() {
            addCriterion("BIZ_CODE2 is null");
            return (Criteria) this;
        }

        public Criteria andBizCode2IsNotNull() {
            addCriterion("BIZ_CODE2 is not null");
            return (Criteria) this;
        }

        public Criteria andBizCode2EqualTo(String value) {
            addCriterion("BIZ_CODE2 =", value, "bizCode2");
            return (Criteria) this;
        }

        public Criteria andBizCode2NotEqualTo(String value) {
            addCriterion("BIZ_CODE2 <>", value, "bizCode2");
            return (Criteria) this;
        }

        public Criteria andBizCode2GreaterThan(String value) {
            addCriterion("BIZ_CODE2 >", value, "bizCode2");
            return (Criteria) this;
        }

        public Criteria andBizCode2GreaterThanOrEqualTo(String value) {
            addCriterion("BIZ_CODE2 >=", value, "bizCode2");
            return (Criteria) this;
        }

        public Criteria andBizCode2LessThan(String value) {
            addCriterion("BIZ_CODE2 <", value, "bizCode2");
            return (Criteria) this;
        }

        public Criteria andBizCode2LessThanOrEqualTo(String value) {
            addCriterion("BIZ_CODE2 <=", value, "bizCode2");
            return (Criteria) this;
        }

        public Criteria andBizCode2Like(String value) {
            addCriterion("BIZ_CODE2 like", value, "bizCode2");
            return (Criteria) this;
        }

        public Criteria andBizCode2NotLike(String value) {
            addCriterion("BIZ_CODE2 not like", value, "bizCode2");
            return (Criteria) this;
        }

        public Criteria andBizCode2In(List<String> values) {
            addCriterion("BIZ_CODE2 in", values, "bizCode2");
            return (Criteria) this;
        }

        public Criteria andBizCode2NotIn(List<String> values) {
            addCriterion("BIZ_CODE2 not in", values, "bizCode2");
            return (Criteria) this;
        }

        public Criteria andBizCode2Between(String value1, String value2) {
            addCriterion("BIZ_CODE2 between", value1, value2, "bizCode2");
            return (Criteria) this;
        }

        public Criteria andBizCode2NotBetween(String value1, String value2) {
            addCriterion("BIZ_CODE2 not between", value1, value2, "bizCode2");
            return (Criteria) this;
        }

        public Criteria andBizCode3IsNull() {
            addCriterion("BIZ_CODE3 is null");
            return (Criteria) this;
        }

        public Criteria andBizCode3IsNotNull() {
            addCriterion("BIZ_CODE3 is not null");
            return (Criteria) this;
        }

        public Criteria andBizCode3EqualTo(String value) {
            addCriterion("BIZ_CODE3 =", value, "bizCode3");
            return (Criteria) this;
        }

        public Criteria andBizCode3NotEqualTo(String value) {
            addCriterion("BIZ_CODE3 <>", value, "bizCode3");
            return (Criteria) this;
        }

        public Criteria andBizCode3GreaterThan(String value) {
            addCriterion("BIZ_CODE3 >", value, "bizCode3");
            return (Criteria) this;
        }

        public Criteria andBizCode3GreaterThanOrEqualTo(String value) {
            addCriterion("BIZ_CODE3 >=", value, "bizCode3");
            return (Criteria) this;
        }

        public Criteria andBizCode3LessThan(String value) {
            addCriterion("BIZ_CODE3 <", value, "bizCode3");
            return (Criteria) this;
        }

        public Criteria andBizCode3LessThanOrEqualTo(String value) {
            addCriterion("BIZ_CODE3 <=", value, "bizCode3");
            return (Criteria) this;
        }

        public Criteria andBizCode3Like(String value) {
            addCriterion("BIZ_CODE3 like", value, "bizCode3");
            return (Criteria) this;
        }

        public Criteria andBizCode3NotLike(String value) {
            addCriterion("BIZ_CODE3 not like", value, "bizCode3");
            return (Criteria) this;
        }

        public Criteria andBizCode3In(List<String> values) {
            addCriterion("BIZ_CODE3 in", values, "bizCode3");
            return (Criteria) this;
        }

        public Criteria andBizCode3NotIn(List<String> values) {
            addCriterion("BIZ_CODE3 not in", values, "bizCode3");
            return (Criteria) this;
        }

        public Criteria andBizCode3Between(String value1, String value2) {
            addCriterion("BIZ_CODE3 between", value1, value2, "bizCode3");
            return (Criteria) this;
        }

        public Criteria andBizCode3NotBetween(String value1, String value2) {
            addCriterion("BIZ_CODE3 not between", value1, value2, "bizCode3");
            return (Criteria) this;
        }

        public Criteria andBizCode4IsNull() {
            addCriterion("BIZ_CODE4 is null");
            return (Criteria) this;
        }

        public Criteria andBizCode4IsNotNull() {
            addCriterion("BIZ_CODE4 is not null");
            return (Criteria) this;
        }

        public Criteria andBizCode4EqualTo(String value) {
            addCriterion("BIZ_CODE4 =", value, "bizCode4");
            return (Criteria) this;
        }

        public Criteria andBizCode4NotEqualTo(String value) {
            addCriterion("BIZ_CODE4 <>", value, "bizCode4");
            return (Criteria) this;
        }

        public Criteria andBizCode4GreaterThan(String value) {
            addCriterion("BIZ_CODE4 >", value, "bizCode4");
            return (Criteria) this;
        }

        public Criteria andBizCode4GreaterThanOrEqualTo(String value) {
            addCriterion("BIZ_CODE4 >=", value, "bizCode4");
            return (Criteria) this;
        }

        public Criteria andBizCode4LessThan(String value) {
            addCriterion("BIZ_CODE4 <", value, "bizCode4");
            return (Criteria) this;
        }

        public Criteria andBizCode4LessThanOrEqualTo(String value) {
            addCriterion("BIZ_CODE4 <=", value, "bizCode4");
            return (Criteria) this;
        }

        public Criteria andBizCode4Like(String value) {
            addCriterion("BIZ_CODE4 like", value, "bizCode4");
            return (Criteria) this;
        }

        public Criteria andBizCode4NotLike(String value) {
            addCriterion("BIZ_CODE4 not like", value, "bizCode4");
            return (Criteria) this;
        }

        public Criteria andBizCode4In(List<String> values) {
            addCriterion("BIZ_CODE4 in", values, "bizCode4");
            return (Criteria) this;
        }

        public Criteria andBizCode4NotIn(List<String> values) {
            addCriterion("BIZ_CODE4 not in", values, "bizCode4");
            return (Criteria) this;
        }

        public Criteria andBizCode4Between(String value1, String value2) {
            addCriterion("BIZ_CODE4 between", value1, value2, "bizCode4");
            return (Criteria) this;
        }

        public Criteria andBizCode4NotBetween(String value1, String value2) {
            addCriterion("BIZ_CODE4 not between", value1, value2, "bizCode4");
            return (Criteria) this;
        }

        public Criteria andBizCode5IsNull() {
            addCriterion("BIZ_CODE5 is null");
            return (Criteria) this;
        }

        public Criteria andBizCode5IsNotNull() {
            addCriterion("BIZ_CODE5 is not null");
            return (Criteria) this;
        }

        public Criteria andBizCode5EqualTo(String value) {
            addCriterion("BIZ_CODE5 =", value, "bizCode5");
            return (Criteria) this;
        }

        public Criteria andBizCode5NotEqualTo(String value) {
            addCriterion("BIZ_CODE5 <>", value, "bizCode5");
            return (Criteria) this;
        }

        public Criteria andBizCode5GreaterThan(String value) {
            addCriterion("BIZ_CODE5 >", value, "bizCode5");
            return (Criteria) this;
        }

        public Criteria andBizCode5GreaterThanOrEqualTo(String value) {
            addCriterion("BIZ_CODE5 >=", value, "bizCode5");
            return (Criteria) this;
        }

        public Criteria andBizCode5LessThan(String value) {
            addCriterion("BIZ_CODE5 <", value, "bizCode5");
            return (Criteria) this;
        }

        public Criteria andBizCode5LessThanOrEqualTo(String value) {
            addCriterion("BIZ_CODE5 <=", value, "bizCode5");
            return (Criteria) this;
        }

        public Criteria andBizCode5Like(String value) {
            addCriterion("BIZ_CODE5 like", value, "bizCode5");
            return (Criteria) this;
        }

        public Criteria andBizCode5NotLike(String value) {
            addCriterion("BIZ_CODE5 not like", value, "bizCode5");
            return (Criteria) this;
        }

        public Criteria andBizCode5In(List<String> values) {
            addCriterion("BIZ_CODE5 in", values, "bizCode5");
            return (Criteria) this;
        }

        public Criteria andBizCode5NotIn(List<String> values) {
            addCriterion("BIZ_CODE5 not in", values, "bizCode5");
            return (Criteria) this;
        }

        public Criteria andBizCode5Between(String value1, String value2) {
            addCriterion("BIZ_CODE5 between", value1, value2, "bizCode5");
            return (Criteria) this;
        }

        public Criteria andBizCode5NotBetween(String value1, String value2) {
            addCriterion("BIZ_CODE5 not between", value1, value2, "bizCode5");
            return (Criteria) this;
        }

        public Criteria andUserSubmitDateIsNull() {
            addCriterion("USER_SUBMIT_DATE is null");
            return (Criteria) this;
        }

        public Criteria andUserSubmitDateIsNotNull() {
            addCriterion("USER_SUBMIT_DATE is not null");
            return (Criteria) this;
        }

        public Criteria andUserSubmitDateEqualTo(Date value) {
            addCriterion("USER_SUBMIT_DATE =", value, "userSubmitDate");
            return (Criteria) this;
        }

        public Criteria andUserSubmitDateNotEqualTo(Date value) {
            addCriterion("USER_SUBMIT_DATE <>", value, "userSubmitDate");
            return (Criteria) this;
        }

        public Criteria andUserSubmitDateGreaterThan(Date value) {
            addCriterion("USER_SUBMIT_DATE >", value, "userSubmitDate");
            return (Criteria) this;
        }

        public Criteria andUserSubmitDateGreaterThanOrEqualTo(Date value) {
            addCriterion("USER_SUBMIT_DATE >=", value, "userSubmitDate");
            return (Criteria) this;
        }

        public Criteria andUserSubmitDateLessThan(Date value) {
            addCriterion("USER_SUBMIT_DATE <", value, "userSubmitDate");
            return (Criteria) this;
        }

        public Criteria andUserSubmitDateLessThanOrEqualTo(Date value) {
            addCriterion("USER_SUBMIT_DATE <=", value, "userSubmitDate");
            return (Criteria) this;
        }

        public Criteria andUserSubmitDateIn(List<Date> values) {
            addCriterion("USER_SUBMIT_DATE in", values, "userSubmitDate");
            return (Criteria) this;
        }

        public Criteria andUserSubmitDateNotIn(List<Date> values) {
            addCriterion("USER_SUBMIT_DATE not in", values, "userSubmitDate");
            return (Criteria) this;
        }

        public Criteria andUserSubmitDateBetween(Date value1, Date value2) {
            addCriterion("USER_SUBMIT_DATE between", value1, value2, "userSubmitDate");
            return (Criteria) this;
        }

        public Criteria andUserSubmitDateNotBetween(Date value1, Date value2) {
            addCriterion("USER_SUBMIT_DATE not between", value1, value2, "userSubmitDate");
            return (Criteria) this;
        }

        public Criteria andSrvOrderNoIsNull() {
            addCriterion("SRV_ORDER_NO is null");
            return (Criteria) this;
        }

        public Criteria andSrvOrderNoIsNotNull() {
            addCriterion("SRV_ORDER_NO is not null");
            return (Criteria) this;
        }

        public Criteria andSrvOrderNoEqualTo(String value) {
            addCriterion("SRV_ORDER_NO =", value, "srvOrderNo");
            return (Criteria) this;
        }

        public Criteria andSrvOrderNoNotEqualTo(String value) {
            addCriterion("SRV_ORDER_NO <>", value, "srvOrderNo");
            return (Criteria) this;
        }

        public Criteria andSrvOrderNoGreaterThan(String value) {
            addCriterion("SRV_ORDER_NO >", value, "srvOrderNo");
            return (Criteria) this;
        }

        public Criteria andSrvOrderNoGreaterThanOrEqualTo(String value) {
            addCriterion("SRV_ORDER_NO >=", value, "srvOrderNo");
            return (Criteria) this;
        }

        public Criteria andSrvOrderNoLessThan(String value) {
            addCriterion("SRV_ORDER_NO <", value, "srvOrderNo");
            return (Criteria) this;
        }

        public Criteria andSrvOrderNoLessThanOrEqualTo(String value) {
            addCriterion("SRV_ORDER_NO <=", value, "srvOrderNo");
            return (Criteria) this;
        }

        public Criteria andSrvOrderNoLike(String value) {
            addCriterion("SRV_ORDER_NO like", value, "srvOrderNo");
            return (Criteria) this;
        }

        public Criteria andSrvOrderNoNotLike(String value) {
            addCriterion("SRV_ORDER_NO not like", value, "srvOrderNo");
            return (Criteria) this;
        }

        public Criteria andSrvOrderNoIn(List<String> values) {
            addCriterion("SRV_ORDER_NO in", values, "srvOrderNo");
            return (Criteria) this;
        }

        public Criteria andSrvOrderNoNotIn(List<String> values) {
            addCriterion("SRV_ORDER_NO not in", values, "srvOrderNo");
            return (Criteria) this;
        }

        public Criteria andSrvOrderNoBetween(String value1, String value2) {
            addCriterion("SRV_ORDER_NO between", value1, value2, "srvOrderNo");
            return (Criteria) this;
        }

        public Criteria andSrvOrderNoNotBetween(String value1, String value2) {
            addCriterion("SRV_ORDER_NO not between", value1, value2, "srvOrderNo");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}